package cn.sciento.farm.devicemanager.api.jsonrpc;

import cn.sciento.farm.devicemanager.dao.entity.DevScene;
import cn.sciento.farm.devicemanager.dao.entity.DevScreen;
import cn.sciento.farm.devicemanager.dao.model.ResponseMessage;
import cn.sciento.farm.devicemanager.dao.model.ScreenForm;
import com.googlecode.jsonrpc4j.JsonRpcService;

/**
 * 远程屏幕
 */
@JsonRpcService("rpc/hardware.screen")
public interface ScreenJsonApi {

    ResponseMessage create(ScreenForm screen);

    ResponseMessage update(ScreenForm screen);

    ResponseMessage  delete(Long id);

    ResponseMessage list(Long areaId) ;

    ResponseMessage get(Long id);
}



